<!DOCTYPE html>
<html>
{include file="head.html"}

<body>
<div class="page">
{include file="header.html"}
<div class="main-body">
<div class="box960">
<div class="row">
<div class="col-6-1">{include file='user_left.html'}</div>
<div class="col-6-5">
{include file='shop_article/nav.html'}
 <table class='table table-bordered' width='100%'>
  <tr>
   <td>id</td>
   <td>title</td>
   <td>shopid</td>
   <td>userid</td>
   <td>catid</td>
   <td>love_num</td>
   <td>fav_num</td>
   <td>forward_num</td>

<td>操作</td>
  </tr>
 {foreach item=c from=$data}
<tr>
   <td>{$c.id}</td>
   <td>{$c.title}</td>
   <td>{$c.shopid}</td>
   <td>{$c.userid}</td>
   <td>{$c.catid}</td>
   <td>{$c.love_num}</td>
   <td>{$c.fav_num}</td>
   <td>{$c.forward_num}</td>
   
<td><a href="shopadmin.php?m=shop_article&a=add&id={$c.id}">编辑</a> <a href="/index.php?m=shop_article&a=show&shopid={$c.shopid}&id={$c.id}"  target="_blank">查看</a> <a href="javascript:;" class="delete" url="shopadmin.php?m=shop_article&a=delete&id={$c.id}">删除</a></td>
  </tr>
   {/foreach}
 </table>
<div>{$pagelist}</div>
</div>
</div>
</div>

</div>
{include file="footer.html"}
</div>
</body>
</html>